package com.lgj.mall.ware.dao;

import com.lgj.mall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品库存
 * 
 * @author lgj
 * @email 3233744083@qq.com
 * @date 2025-07-05 18:51:59
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {
    //更新库存
//    void addStock(Long skuId, Long wareId, Integer skuNum);
    void addStock(@Param("skuId") Long skuId, @Param("wareId") Long wareId, @Param("skuNum") Integer skuNum);
}
